<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<h1>Add Recipe</h1>
<form action="." method="post">
    {% csrf_token %}
    {{ form.as_p }}

    <fieldset>
        <legend>Recipe ingredient</legend>
        {{ ingredient_formset.management_form }}
        {{ ingredient_formset.non_form_errors }}
        {% for form in ingredient_formset %}
            {{ form.name.errors }}
            {{ form.name.label_tag }}
            {{ form.name }}
        {% endfor %}
    </fieldset>

    <input type="submit" value="Add recipe" class="submit"/>
</form>
</body>
</html>